console.clear();
const InGameScreen = UiScreen.getAllScreen().find(
  (obj) => obj.name === "InGameScreen"
);
const DemoMode = InGameScreen?.findChildByName<UiImage>("Alpha");
if (DemoMode) {
  DemoMode.visible = true;
  DemoMode.events.on("pointerup", () => {
    remoteChannel.sendServerEvent("DemoMode");
  });
}
